package com.hugesoft.logic.managers.trafficmanager;

import java.util.List;

import android.os.Handler;

import com.hugesoft.logic.module.Traffic;

public interface ITrafficManagerInterface {
	public void addtrafficinfo(Traffic traffic,Handler handler);
	public void deltrafficinfo(String platenumber,Handler handler);//删除某车号的所有记录
	public void gettrafficinfo(String platenumber,Handler handler);
	
	public void gettrafficinfowithrecordid(Long id,Handler handler);
	public void deltrafficinfowithrecordid(Long id,Handler handler);
	public void modifytrafficinfowithrecordid(Long id,Handler handler);
	
	public List<Traffic> loadtrafficinfo(String platenumber);
	public Traffic loadtrafficinfo(Long trafficid);
	public List<Traffic> loadalltraffic();
}
